import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {RouterModule} from '@angular/router';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';

import {NgZorroAntdModule} from 'ng-zorro-antd';

import {ProgrammeComponent} from './programme.component';
import {programmeRoutes} from './programme.routes';
import {ProgrammeIndexComponent} from './views/programme-index/programme-index.component';
import {ProgrammeService} from './services/programme.service';
import {ProgrammeFilterComponent} from './components/programme-filter/programme-filter.component';
import {ProgrammeGridComponent} from './components/programme-grid/programme-grid.component';
import {ProgrammeFormComponent} from './components/programme-form/programme-form.component';

@NgModule({
  imports: [
    CommonModule,
    NgZorroAntdModule,
    ReactiveFormsModule,
    FormsModule,
    RouterModule.forChild(programmeRoutes)
  ],
  providers: [
    ProgrammeService
  ],
  declarations: [ProgrammeComponent, ProgrammeIndexComponent, ProgrammeFilterComponent, ProgrammeGridComponent, ProgrammeFormComponent]
})
export class ProgrammeModule {
}
